#!/bin/sh

rm -rf generated/
echo "Generation in progress (please wait this takes time)..."
echo "  . generate-bundle.sh"
./generate-bundle.sh > /dev/null
echo "  . generate-src.sh"
./generate-src.sh > /dev/null
echo "  . generate-javadoc.sh"
./generate-javadoc.sh > /dev/null
cp ./documentation/report.pdf ./generated/
cd generated
tar -cjpf chord-parisy-pellegrino-valdener.tar.bz2 *

echo
echo "Generation has succeeded!"
echo
ls -lh .
